package com.credit.mapper;

import java.util.List;

import com.credit.pojo.profit;
import com.credit.vo.YearVo;

public interface profitMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(profit record);

    int insertProfit(profit record);

    List<profit> selectProfitKey(Integer id);

    int updateProfit(profit record);

    int updateByPrimaryKey(profit record);
    
    List<profit> selectProfit(YearVo y);
}